$(document).ready(function() {
	$('select.regularSelect').tzSelect();
	//data tables
	$("#datatables").dataTable({
		"bJQueryUI" : true,
		"sPaginationType" : "full_numbers",
		"aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "所有"]],
		"oLanguage" : {
			"sLengthMenu" : "每页显示 _MENU_ 条记录",
			"sZeroRecords" : "抱歉  - 没有找到",
			"sInfo" : "显示 _START_ ~ _END_ 共 _TOTAL_ 条记录",
			"sInfoEmpty" : "没有记录",
			"sInfoFiltered" : "(从 _MAX_ 条记录中过滤)",
			"oPaginate": {
				"sFirst": "首页",
				"sLast": "尾页",
				"sNext": "下页",
				"sPrevious": "上页"
			},
			"sSearch" : "搜索"
		}
	});
	//滚动
	$("#archive_content").mCustomScrollbar({
		mouseWheelPixels:200,
		advanced:{
			updateOnBrowserResize:true,
			updateOnContentResize:true,
			autoExpandHorizontalScroll:true,
			scrollInertia:550
		}
	});
});